<%@ page import="Vo.User" %>
<%@ page import="Dao.CommentDao" %>
<%@ page import="Vo.Post" %><%--
  Created by IntelliJ IDEA.
  User: Cly
  Date: 2021-12-16
  Time: 22:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>评论</title>
    <script src="jquery.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="主页.css">
</head>
<body>
<%
    User user=(User) session.getAttribute("user");
%>

<div class="column left">
    <div class="yuan container">
        <h3>欢迎您登录论坛</h3>
        <div class="circle">
            <img src="<%=user.getPic()%>" id="img2" name="img2" height="50px" width="50px"/>
        </div>
        <p><%=user.getUsername()%></p>
        <div id="nav">
            <ul class="firstNav">
                <li>
                    <a href="postMessage.jsp">我要发帖</a>
                </li>
                <li>
                    <a href="change.jsp">修改密码</a>
                </li>
                <li>
                    <a href="login.jsp">注销账户</a>
                </li>
                <li>
                    <a href="home.jsp">返回主页</a>
                </li>
            </ul>
        </div>
    </div>
</div>

<div class="main container">
<div>
    输入内容：<br>
    <form name="commentform" action="commentServlet">
       <textarea name="comment" rows="10" cols="100" id="comment"></textarea>
        <input type="submit" value="提交">
    </form>
</div>
</div>

<script>

</script>
</body>
</html>
